package com.project.xsf.service.impl;

import com.project.xsf.entity.TAssessQuestion;
import com.project.xsf.mapper.TAssessQuestionMapper;
import com.project.xsf.service.TAssessQuestionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
@Service
public class TAssessQuestionImpl implements TAssessQuestionService {
    @Autowired
    private TAssessQuestionMapper tAssessQuestionMapper;


    @Override
    public List<TAssessQuestion> queryAllQuestion(Integer bankId) {
        return tAssessQuestionMapper.queryAllQuestion(bankId);
    }
}
